package com.tang.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tang.crm.dto.CustomerDto;
import com.tang.crm.dto.CustomerLossDto;
import com.tang.crm.entity.Customer;
import com.tang.crm.entity.CustomerLoss;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface CustomerLossMapper extends BaseMapper<CustomerLoss> {

    IPage<Map<String, Object>> selectAllByParams(IPage<CustomerLoss> page, @Param("params") CustomerLossDto customerLossDto);
}
